package school

import (
	"encoding/xml"
	"time"

	"gopkg.in/mgo.v2/bson"
)

type SCHOOLS_XML struct {
	XMLName xml.Name `xml:"schools" json:"-"`

	Schools []SCHOOL_XML `xml:"school" json:"schools"`
}

type SCHOOL_XML struct {
	Id           bson.ObjectId `xml:"id" json:"-" bson:"_id,omitempty"`
	Name         string        `xml:"name" json:"name" bson:"name,omitempty"`
	Created_time time.Time     `xml:"created_time" json:"created_time" bson:"created_time,omitempty"`
}
